package com.zmn.oms.dubbo.dto.common.work;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 李刚
 * @date:2021/11/22 11:20 下午
 * description:
 */
@Data
@ToString
@ApiModel("工单标签")
public class OrderTagCheckDIO implements Serializable {
    private static final long serialVersionUID = -1240309366265997810L;
    /**
     * 订单Id
     */
    @ApiModelProperty("订单号")
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @ApiModelProperty("工单号")
    @NotNull(message = "工单号不能为空")
    private Long workId;

    /**
     * 标签ID集合
     *
     * @see OrderTagConsts
     */
    @ApiModelProperty("标签ID")
    @NotNull(message = "标签ID")
    private Integer tagId;
}
